cmake_minimum_required(VERSION 3.18)
project(NewCgi C)

set(CMAKE_C_STANDARD 11)
SET(LINKER_SCRIPT ${PROJECT_SOURCE_DIR}/x86_64.lds)
link_directories("/lib" "/lib/x86_64-linux-gnu/")
add_executable(NewCgi main.c)
target_link_libraries(NewCgi -lsqlite3 -lcjson -g -T${LINKER_SCRIPT} -lpthread)